﻿using Xamarin.Forms;

namespace DailyPoetryX.Views {
    public partial class TodayPage : ContentPage {
        public TodayPage() {
            InitializeComponent();

            SizeChanged += (sender, args) =>
                VisualStateManager.GoToState(DetailStackLayout,
                    Width > 600 ? "Landscape" : "Portrait");
        }
    }
}